package com.grwx.omc.baselog.dao;

import com.grwx.omc.common.entity.LoginLog;
import com.grwx.omc.common.entity.OperationLog;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OperationLogMapper {
    /**
     * 添加操作日志
     * @param operationLog
     */
    int addOperationLog(OperationLog operationLog);

    /**
     * 查询操作日志
     */
    List<OperationLog> getOperationLogs(Map<String,Integer> map);

    /**
     * 获取操作总条数
     * @return
     */
    int getTotalCount();
}
